Optimal. Leaf size=80 \[ x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac{a+b \log \left (c x^n\right )}{b n}\right )^{-p} \text{Gamma}\left (p+1,-\frac{a+b \log \left (c x^n\right )}{b n}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0375806, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2300, 2181} \[ x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac{a+b \log \left (c x^n\right )}{b n}\right )^{-p} \text{Gamma}\left (p+1,-\frac{a+b \log \left (c x^n\right )}{b n}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2300
Rule 2181
Rubi steps
\begin{align*} \int \left (a+b \log \left (c x^n\right )\right )^p \, dx &=\frac{\left (x \left (c x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int e^{\frac{x}{n}} (a+b x)^p \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=e^{-\frac{a}{b n}} x \left (c x^n\right )^{-1/n} \Gamma \left (1+p,-\frac{a+b \log \left (c x^n\right )}{b n}\right ) \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac{a+b \log \left (c x^n\right )}{b n}\right )^{-p}\\ \end{align*}
Mathematica [A] time = 0.0675463, size = 80, normalized size = 1. \[ x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac{a+b \log \left (c x^n\right )}{b n}\right )^{-p} \text{Gamma}\left (p+1,-\frac{a+b \log \left (c x^n\right )}{b n}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.344, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.30775, size = 132, normalized size = 1.65 \begin{align*} e^{\left (-\frac{b n p \log \left (-\frac{1}{b n}\right ) + b \log \left (c\right ) + a}{b n}\right )} \Gamma \left (p + 1, -\frac{b n \log \left (x\right ) + b \log \left (c\right ) + a}{b n}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \log{\left (c x^{n} \right )}\right )^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \log \left (c x^{n}\right ) + a\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]